//
//  HMSinaWebViewController.swift
//  ZJCSina
//
//  Created by 朱建超 on 16/11/29.
//  Copyright © 2016年 itHeiMa. All rights reserved.
//

import UIKit

class HMSinaWebViewController: UIViewController {

    let webView = UIWebView()
    
    var urlString : String?
    
    override func loadView() {
        view = webView
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()

        guard let urlString = urlString else{
        
            return
        
        }
        
        let url = URL(string: urlString)
        
        let request = URLRequest(url: url!)
        
        webView.loadRequest(request)
        
    }
}
